﻿namespace Sidvall.WorkItemManager.UI.Entities.Model
{
    public sealed partial class DataPortal : global::Sidvall.WorkItemManager.Model.DataPortalBase
    {
        #region Public Members

        #region WorkConditionManager

        private global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkConditionManager<global::Sidvall.WorkItemManager.UI.Entities.WorkCondition, global::Sidvall.WorkItemManager.UI.Entities.WorkConditionCollection> _WorkConditionManager;
        public global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkConditionManager<global::Sidvall.WorkItemManager.UI.Entities.WorkCondition, global::Sidvall.WorkItemManager.UI.Entities.WorkConditionCollection> WorkConditionManager
        {
            get
            {
                return _WorkConditionManager;
            }
            private set
            {
                _WorkConditionManager = value;
            }
        }

        #endregion
        #region WorkerManager

        private global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkerManager<global::Sidvall.WorkItemManager.UI.Entities.Worker, global::Sidvall.WorkItemManager.UI.Entities.WorkerCollection> _WorkerManager;
        public global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkerManager<global::Sidvall.WorkItemManager.UI.Entities.Worker, global::Sidvall.WorkItemManager.UI.Entities.WorkerCollection> WorkerManager
        {
            get
            {
                return _WorkerManager;
            }
            private set
            {
                _WorkerManager = value;
            }
        }

        #endregion
        #region WorkItemManager

        private global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItem, global::Sidvall.WorkItemManager.UI.Entities.WorkItemCollection> _WorkItemManager;
        public global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItem, global::Sidvall.WorkItemManager.UI.Entities.WorkItemCollection> WorkItemManager
        {
            get
            {
                return _WorkItemManager;
            }
            private set
            {
                _WorkItemManager = value;
            }
        }

        #endregion
        #region WorkItemLogManager

        private global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemLogManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemLog, global::Sidvall.WorkItemManager.UI.Entities.WorkItemLogCollection> _WorkItemLogManager;
        public global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemLogManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemLog, global::Sidvall.WorkItemManager.UI.Entities.WorkItemLogCollection> WorkItemLogManager
        {
            get
            {
                return _WorkItemLogManager;
            }
            private set
            {
                _WorkItemLogManager = value;
            }
        }

        #endregion
        #region WorkItemSensorManager

        private global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemSensorManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensor, global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensorCollection> _WorkItemSensorManager;
        public global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemSensorManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensor, global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensorCollection> WorkItemSensorManager
        {
            get
            {
                return _WorkItemSensorManager;
            }
            private set
            {
                _WorkItemSensorManager = value;
            }
        }

        #endregion
        #region WorkItemSensorLogManager

        private global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemSensorLogManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensorLog, global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensorLogCollection> _WorkItemSensorLogManager;
        public global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemSensorLogManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensorLog, global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensorLogCollection> WorkItemSensorLogManager
        {
            get
            {
                return _WorkItemSensorLogManager;
            }
            private set
            {
                _WorkItemSensorLogManager = value;
            }
        }

        #endregion
        #region WorkItemTypeManager

        private global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemTypeManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemType, global::Sidvall.WorkItemManager.UI.Entities.WorkItemTypeCollection> _WorkItemTypeManager;
        public global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemTypeManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemType, global::Sidvall.WorkItemManager.UI.Entities.WorkItemTypeCollection> WorkItemTypeManager
        {
            get
            {
                return _WorkItemTypeManager;
            }
            private set
            {
                _WorkItemTypeManager = value;
            }
        }

        #endregion
        #region WorkItemWorkConditionManager

        private global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemWorkConditionManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemWorkCondition, global::Sidvall.WorkItemManager.UI.Entities.WorkItemWorkConditionCollection> _WorkItemWorkConditionManager;
        public global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemWorkConditionManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemWorkCondition, global::Sidvall.WorkItemManager.UI.Entities.WorkItemWorkConditionCollection> WorkItemWorkConditionManager
        {
            get
            {
                return _WorkItemWorkConditionManager;
            }
            private set
            {
                _WorkItemWorkConditionManager = value;
            }
        }

        #endregion
        #region WorkRetryPolicyManager

        private global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkRetryPolicyManager<global::Sidvall.WorkItemManager.UI.Entities.WorkRetryPolicy, global::Sidvall.WorkItemManager.UI.Entities.WorkRetryPolicyCollection> _WorkRetryPolicyManager;
        public global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkRetryPolicyManager<global::Sidvall.WorkItemManager.UI.Entities.WorkRetryPolicy, global::Sidvall.WorkItemManager.UI.Entities.WorkRetryPolicyCollection> WorkRetryPolicyManager
        {
            get
            {
                return _WorkRetryPolicyManager;
            }
            private set
            {
                _WorkRetryPolicyManager = value;
            }
        }

        #endregion
        
        #endregion
        #region Constructors

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
        public DataPortal(global::Sidvall.WorkItemManager.Model.IDataPortalFactory localDataPortalFactory, global::Sidvall.WorkItemManager.Model.IDataPortalFactory remoteDataPortalFactory)
            : base(global::Sidvall.WorkItemManager.UI.Entities.Model.ResourceFactory.Current, localDataPortalFactory, remoteDataPortalFactory)
        {
            this.WorkConditionManager = new global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkConditionManager<global::Sidvall.WorkItemManager.UI.Entities.WorkCondition, global::Sidvall.WorkItemManager.UI.Entities.WorkConditionCollection>(this, false);
            this.WorkerManager = new global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkerManager<global::Sidvall.WorkItemManager.UI.Entities.Worker, global::Sidvall.WorkItemManager.UI.Entities.WorkerCollection>(this, false);
            this.WorkItemManager = new global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItem, global::Sidvall.WorkItemManager.UI.Entities.WorkItemCollection>(this, false);
            this.WorkItemLogManager = new global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemLogManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemLog, global::Sidvall.WorkItemManager.UI.Entities.WorkItemLogCollection>(this, false);
            this.WorkItemSensorManager = new global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemSensorManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensor, global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensorCollection>(this, false);
            this.WorkItemSensorLogManager = new global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemSensorLogManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensorLog, global::Sidvall.WorkItemManager.UI.Entities.WorkItemSensorLogCollection>(this, false);
            this.WorkItemTypeManager = new global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemTypeManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemType, global::Sidvall.WorkItemManager.UI.Entities.WorkItemTypeCollection>(this, false);
            this.WorkItemWorkConditionManager = new global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkItemWorkConditionManager<global::Sidvall.WorkItemManager.UI.Entities.WorkItemWorkCondition, global::Sidvall.WorkItemManager.UI.Entities.WorkItemWorkConditionCollection>(this, false);
            this.WorkRetryPolicyManager = new global::Sidvall.WorkItemManager.Model.DataPortalManagers.WorkRetryPolicyManager<global::Sidvall.WorkItemManager.UI.Entities.WorkRetryPolicy, global::Sidvall.WorkItemManager.UI.Entities.WorkRetryPolicyCollection>(this, false);
        }

        #endregion
    }
}